/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #000;
}

/* Sección principal */
.profile {
  display: flex;
  min-height: 100vh; /* ocupa toda la pantalla */
  align-items: center;
}

/* Contenido en 2 columnas */
.content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* texto | imagen */
  gap: 2rem;
  width: 100%;
  padding: 3rem;
  align-items: center;
}

.perfil{
  padding: 5px 8px;
  background-color: #FDD835;
  border-radius: 5px;
}

/* ---- TEXTO ---- */
.text-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contenedor del título con línea */
.title-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

/* Línea al lado del título */
.vertical-line {
  width: 6px;
  height: 60px;
  background-color: #000;
  margin-right: 1rem;
}

/* Título principal */
.text-column h2 {
  font-size: 2.5rem; /* grande */
  font-weight: bold;
}

/* Lista del perfil */
.text-column ul {
  list-style: disc inside;
  font-size: 1rem; /* más pequeño */
  line-height: 1.6;
}

.text-column ul li {
  margin-bottom: 0.8rem;
  text-align: justify;
}

/* ---- IMAGEN ---- */
.image-column img {
  width: 100%;
  max-width: 350px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr; /* stack */
    text-align: center;
  }

  .title-wrapper {
    justify-content: center;
  }

  .vertical-line {
    height: 40px;
  }

  .image-column {
    margin-top: 2rem;
  }
}

/* Línea verde */
.vertical-line {
  width: 6px;
  height: 70px;
  background-color: rgb(0, 0, 0); /* color de la barra */
}

/* Para la versión del ingresante: barra a la izquierda */
.title-wrapper.left-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Para la versión del egresado: barra a la derecha */
.title-wrapper.right-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.title-wrapper.right-bar h2 {
  order: -1; /* mueve el texto antes de la barra */
}
